﻿// (c)2010 David Schwarz (david.schwarz@live.com)
// This file is licensed under GNU GPL v2 license, see more at http://www.gnu.org/licenses/gpl-2.0.html
namespace Z2.Common
{

	/// <summary>
	/// Třída obsahuje důležité konstanty používané při načítání/ukládání mapy.<br/>
	/// Konstanty jsou využívány jak editorem tak samotnou hrou.
	/// </summary>
	public static class XmlConst
	{
		// Elementy mapy
		public const string ELM_MAP = "Map";
		public const string ELM_BACKGROUND = "Background";
		public const string ELM_BACKGROUND_LAYER = "Layer";

		public const string ELM_FIELDS = "Fields";
		public const string ELM_OBJECTS = "Objects";
		public const string ELM_LIGHTS = "Lights";
		public const string ELM_TRIGGERS = "Triggers";

		// Elementy
		public const string ELM_FIELD = "Field";
		public const string ELM_OBJECT = "Object";
		public const string ELM_LIGHT = "Light";
		public const string ELM_TRIGGER = "Trigger";
		public const string ELM_SCRIPT = "Script";

		// Atributy
		public const string ATT_TYPE = "Type";
		public const string ATT_BEND = "Bend";
		public const string ATT_AUTHOR = "Author";
		public const string ATT_NAME = "Name";
		public const string ATT_X = "X";
		public const string ATT_Y = "Y";
		public const string ATT_ID = "ID";
		public const string ATT_DEFINITION = "Definition";
		public const string ATT_STARTX = "StartX";
		public const string ATT_STARTY = "StartY";
		public const string ATT_BOUNDX = "BoundX";
		public const string ATT_BOUNDY = "BoundY";
		public const string ATT_BOUNDW = "BoundW";
		public const string ATT_BOUNDH = "BoundH";
		public const string ATT_MOVE = "Move";
		public const string ATT_MOVE_DIR = "MoveDirection";

	}
}
